package com.atguigu.gulimall.product.fign;

import com.atguigu.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * @author gorkr
 * @title: WareFeignService
 * @projectName gulimall
 * @description: TODO
 * @date 2022/8/2922:08
 */
@FeignClient(value = "gulimall-ware")
public interface WareFeignService {

    @PostMapping(value = "/ware/waresku/hasStock")
    R getSkuHasStock(@RequestBody List<Long> skuIds);

}
